// commonjs 导入模块
const movies = require('./movies.json')

// commonjs 导出模块
module.exports = function() {
  return {
    movies
  }
}